package org.pageley.games.connected.domain.environment;

import java.util.Arrays;

import org.pageley.games.domain.Direction;
import org.pageley.games.domain.Location;

public class IntersectionRoad extends AbstractRoad {

	public IntersectionRoad(Location location, Direction start1, Direction start2) {
		super(location, 3.0, 
				Arrays.asList(start1, start2),
				Arrays.asList(start1.oppositeDirection(), start2.oppositeDirection()));
	}

}
